package com.hsteach.web.controller.visit.dto;

import com.hsteach.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 添加学生家庭信息 tb_visit_family_person
 * 
 * @author fanxquer
 * @date 2023-07-23
 */
@ApiModel(value = "AddFamilyInfoDto", description = "添加学生家庭信息")
@Data
public class AddFamilyInfoDto implements Serializable
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "家访记录id", required = false)
    private Long recordId;

    @NotNull(message = "学生id不能为空")
    @ApiModelProperty(value = "学生id", required = true)
    private String personId;

    @Excel(name = "家庭结构")
    @ApiModelProperty(value = "家庭结构", required = true)
    private String structure;

    /** 家庭描述 */
    @ApiModelProperty(value = "家庭描述", required = true)
    @Excel(name = "家庭描述")
    private String describeText;

}
